package web.req;

import web.Request;

import javax.validation.constraints.Min;

/**
 * Created by aceyin on 15/7/6.
 */
public class EducationRequest extends Request {


    @Min(value = 1, message = "{invalid.account.id}")
    private long accountId;

    private String school;

    private String major;

    private String grade;


    public long getAccountId() {
        return accountId;
    }

    public void setAccountId(long accountId) {
        this.accountId = accountId;
    }

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }
}
